package pl.iachoo.ctl.tabory.ui.editors.stations.nattable;

import net.sourceforge.nattable.data.IDataProvider;
import net.sourceforge.nattable.grid.layer.RowHeaderLayer;
import net.sourceforge.nattable.layer.AbstractLayerTransform;
import net.sourceforge.nattable.layer.DataLayer;

public class RowHeaderLayerStack extends AbstractLayerTransform {

	public RowHeaderLayerStack(IDataProvider dataProvider,
			BodyLayerStack bodyLayerStack) {
		DataLayer dataLayer = new DataLayer(dataProvider, 50, 20);
		RowHeaderLayer rowHeaderLayer = new RowHeaderLayer(dataLayer,
				bodyLayerStack, bodyLayerStack.getSelectionLayer());
		setUnderlyingLayer(rowHeaderLayer);
	}
}
